package com.dgac.publicresource.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Comment {
    /**
     * 评论id
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 摊位id
     */
    private Long shopId;


    /**
     * 评论内容
     */
    private String content;

    /**
     * 标题
     */
    private String title;

    /**
     * 评论图片
     */
    private String images;

    /**
     * 判断该评论是否为大众点评信息
     */
    private Boolean isHot;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
